package com.cheng.oa.service;

import com.cheng.oa.domain.TbDept;
import com.cheng.oa.vo.PageBean;

public interface DeptService {
	
	public PageBean<TbDept> showDept(Integer pageNumber,Integer pageSize,String dname);

	public boolean addDept(TbDept dept);
	


	public boolean deleteById(Integer id);
	public boolean deleteBybatch(Integer[] ids);
	
	public TbDept findDeptById(Integer id);
	
	public boolean updateDept(TbDept dept);
}
